package com.stylefeng.guns.rest.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by ASUS-PC on 2018/6/26.
 */
@TableName(value = "u_version")
public class Version extends Model<Version>{
    private static final long serialVersionUID = 1L;

    private int id;
    @TableField("VERSON_NAME")
    private String versionName;
    @TableField("VERSON_CONTENT")
    private String versionContent;
    @TableField("VERSON_IMAGE")
    private String versionImage;
    @TableField("VERSON_TYPE")
    private Integer versionType;
    @TableField("DNUM")
    private Integer dnum;
    @TableField("VERSON_FILE")
    private String versionFile;
    @TableField("PROJECT_ID")
    private String projectId;
    @TableField("IDENTIFIER")
    private String identifier;
    @TableField("VERSON_NUM")
    private String versionNum;
    @TableField("TITLE")
    private String title;
    @TableField("USERID")
    private String userId;
    @TableField("CREATE_TIME")
    private String cTime;
    @TableField("VERSON_URL")
    private String versonUrl;
    @TableField("INFORM_USERS")
    private String informUsers;
    @TableField("IS_ISSUE")
    private int isIssue;
    @TableField("DUIWAI_ID")
    private String duiWaiId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getVersionContent() {
        return versionContent;
    }

    public void setVersionContent(String versionContent) {
        this.versionContent = versionContent;
    }

    public String getVersionImage() {
        return versionImage;
    }

    public void setVersionImage(String versionImage) {
        this.versionImage = versionImage;
    }

    public Integer getVersionType() {
        return versionType;
    }

    public void setVersionType(Integer versionType) {
        this.versionType = versionType;
    }

    public Integer getDnum() {
        return dnum;
    }

    public void setDnum(Integer dnum) {
        this.dnum = dnum;
    }

    public String getVersionFile() {
        return versionFile;
    }

    public void setVersionFile(String versionFile) {
        this.versionFile = versionFile;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(String versionNum) {
        this.versionNum = versionNum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getcTime() {
        return cTime;
    }

    public void setcTime(String cTime) {
        this.cTime = cTime;
    }

    public String getVersonUrl() {
        return versonUrl;
    }

    public void setVersonUrl(String versonUrl) {
        this.versonUrl = versonUrl;
    }

    public String getInformUsers() {
        return informUsers;
    }

    public void setInformUsers(String informUsers) {
        this.informUsers = informUsers;
    }

    public int getIsIssue() {
        return isIssue;
    }

    public void setIsIssue(int isIssue) {
        this.isIssue = isIssue;
    }

    public String getDuiWaiId() {
        return duiWaiId;
    }

    public void setDuiWaiId(String duiWaiId) {
        this.duiWaiId = duiWaiId;
    }

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
